package com.example.demo.service;

import com.example.demo.pojo.Admin;
import com.example.demo.pojo.Backlogin;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import javax.servlet.http.HttpSession;
import java.util.List;

public interface BackLoginService {
    List<Admin> Backselect(
            int backseq,
            String backname,
            String pwd
    );
    PageInfo<Admin> backlogininfo(
            Integer page,
            Integer size,
            int backseq,
            String backname,
            String pwd
    );

    String backupdate(
            String name,
            String account,
            String state,
            String pwd,
            String seq,
            String page,
            int backraleid
    );

    void backdelete(
           String seq
    );

    String backinsert(
           String name,
           String pwd,
           String count,
           String role
    );
    String loginuril(String count, String password, String yzm, HttpSession httpSession);
}
